package com.scud.client.order;

import com.scud.model.order.dto.FullOrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "scud-store-order")
public interface IOrderClient {

    @PostMapping("/api/order/feign/createOrder")
    void createOrder(@RequestBody FullOrderDto orderDto);
}
